import request from '@/util/request'

export async function getAllProvinces() {
    return await request.get('/chinaDatas/provinces');
} 

export async function getCitys(province) {
    return await request.get(`/chinaDatas/citys?province=${province}`);
} 

export async function getCountrys(city) {
    return await request.get(`/chinaDatas/districts?city=${city}`);
}